package threeSumClosest;

import java.util.*;

/**
 * 16. 最接近的三数之和
 *
 * @author <a href="mailto:zhilin.zhao@vtradex.com">赵智林</a>
 * @since 2023/7/16 15:38
 */
public class Solution {
    public static void main(String[] args) {
        int[] nums = {-1, 2, 1, -4};
        int target  = 2;
        int result = new Solution().threeSumClosest(nums, target);
        System.out.println(result);
    }

    public int threeSumClosest(int[] nums, int target) {
        Arrays.sort(nums);

    }
}
